<%--
select key file or token for registration.
@author lx 2010-09-11
--%>
<%@ include file="../../common/common.jsp"%>
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<title>CSP Certificate Association Registration</title>

<script src="<c:url value="/jsp/registration/bd_user_reg/bd_user_reg_choose_resource_of_cer.js"/>" type="text/javascript" charset="UTF-8"></script>
</head>

<body>


  <form id="opeForm" name="opeForm" method="post" enctype="multipart/form-data">

    <%-- Page Type  0: Add; 1: Modify--%>
    <input type="hidden" id="operationType" name="operationType" value="${operationType}" />
    <input type="hidden" id="cer_type" name="model.CER_TYPE" value="${model.CER_TYPE}" />
    <input type="hidden" id="cer_type" name="model.CN" value="${model.CN}" />

    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="editDisplay">
      <tr>
        <td valign="top">
          <table width="100%" border="0" cellpadding="0" cellspacing="0" class="editCaption">
            <tr>
              <td height="30">&nbsp;</td>
            </tr>
            <tr>
              <td align="center"><font class="editCaptionTitle">CSP Certificate Association Registration</font></td>
            </tr>
            <tr>
              <td height="40"></td>
            </tr>
          </table>
          <table width="100%" border="0" cellpadding="0" cellspacing="0" class="editTableBorder">
            <tr>
              <td>
                <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="editMainLabelTD" nowrap="nowrap" align="right" style="width: 30%;"><input type="radio" id="choose_key_file" name="model.CER_RESOURCE" value="1" /> Select key file location &nbsp;</td>
                    <td class="editMainTD" nowrap="nowrap" align="left" style="width: 30%;"><input type="file" id="file" name="file" value="" style="width: 250" />
                    </td>
                  </tr>

                  <tr>
                    <td class="editMainLabelTD" nowrap="nowrap" align="right" style="width: 30%;"><input type="radio" id="choose_token" name="model.CER_RESOURCE" value="2" />Using token&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          </td>
                    <td class="editMainTD" nowrap="nowrap" align="left" style="width: 30%;"></td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td colspan="3" class="editMainBottomTD">&nbsp;
                <div style="text-align: center; padding: 5px;">
                  <input type="button" id="nextBtn" name="nextBtn" value="Next" /> &nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="button" id="cancelBtn" name="cancelBtn" value="Cancel" />
                </div>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>

  </form>
</body>
</html>